package com.example.wszb;

public class DataLogin {
    private String account;
    private String password;

    DataLogin(String account, String password){   //有参构造方法
        this.account = account;
        this.password = password;
    }

    DataLogin(){    //默认构造方法

    }


    public String getAccount(){   //获取账号
        return this.account;
    }   //获取账号

    public String getPassword(){  //获取密码
        return this.password;
    }  //获取密码

    public void setAccount(String account){  //设置账号
        this.account = account;
    }

    public void setPassword(String password){  //设置密码
        this.password = password;
    }
}
